package plp.funcoo.value;

import plp.funcoo.environment.compilation.Environment;
import plp.funcoo.exceptions.ClassNotDeclared;
import plp.funcoo.exceptions.VarNotDeclared;
import plp.funcoo.expressions.Expression;
import plp.funcoo.types.PrimitiveType;
import plp.funcoo.util.Type;



public class StringValue extends ConcretValue<String>{

	
	public StringValue( String value)
	{
		super(value);
	}
	
	

	@Override
	public Type getType(Environment envi) throws VarNotDeclared,
			ClassNotDeclared {
		// TODO Auto-generated method stub
		return  PrimitiveType.Type_STRING;
	}
	@Override
	public Expression makeCopy() {
		
		return new StringValue(getValue());
	}
}
